﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000969 RID: 2409
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class IMBMFNLHNFK : IMessage<IMBMFNLHNFK>, IMessage, IEquatable<IMBMFNLHNFK>, IDeepCloneable<IMBMFNLHNFK>, IBufferMessage
	{
		// Token: 0x17001E8B RID: 7819
		// (get) Token: 0x06006C26 RID: 27686 RVA: 0x0012258B File Offset: 0x0012078B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<IMBMFNLHNFK> Parser
		{
			get
			{
				return IMBMFNLHNFK._parser;
			}
		}

		// Token: 0x17001E8C RID: 7820
		// (get) Token: 0x06006C27 RID: 27687 RVA: 0x00122592 File Offset: 0x00120792
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return IMBMFNLHNFKReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17001E8D RID: 7821
		// (get) Token: 0x06006C28 RID: 27688 RVA: 0x001225A4 File Offset: 0x001207A4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return IMBMFNLHNFK.Descriptor;
			}
		}

		// Token: 0x06006C29 RID: 27689 RVA: 0x001225AB File Offset: 0x001207AB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public IMBMFNLHNFK()
		{
		}

		// Token: 0x06006C2A RID: 27690 RVA: 0x001225B4 File Offset: 0x001207B4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public IMBMFNLHNFK(IMBMFNLHNFK other) : this()
		{
			this.iMPLIOJGBIO_ = ((other.iMPLIOJGBIO_ != null) ? other.iMPLIOJGBIO_.Clone() : null);
			this.gIOHAFGBGMC_ = ((other.gIOHAFGBGMC_ != null) ? other.gIOHAFGBGMC_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06006C2B RID: 27691 RVA: 0x00122610 File Offset: 0x00120810
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public IMBMFNLHNFK Clone()
		{
			return new IMBMFNLHNFK(this);
		}

		// Token: 0x17001E8E RID: 7822
		// (get) Token: 0x06006C2C RID: 27692 RVA: 0x00122618 File Offset: 0x00120818
		// (set) Token: 0x06006C2D RID: 27693 RVA: 0x00122620 File Offset: 0x00120820
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueSyncContextBoardEvent IMPLIOJGBIO
		{
			get
			{
				return this.iMPLIOJGBIO_;
			}
			set
			{
				this.iMPLIOJGBIO_ = value;
			}
		}

		// Token: 0x17001E8F RID: 7823
		// (get) Token: 0x06006C2E RID: 27694 RVA: 0x00122629 File Offset: 0x00120829
		// (set) Token: 0x06006C2F RID: 27695 RVA: 0x00122631 File Offset: 0x00120831
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public FLKLLJOCMML GIOHAFGBGMC
		{
			get
			{
				return this.gIOHAFGBGMC_;
			}
			set
			{
				this.gIOHAFGBGMC_ = value;
			}
		}

		// Token: 0x06006C30 RID: 27696 RVA: 0x0012263A File Offset: 0x0012083A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as IMBMFNLHNFK);
		}

		// Token: 0x06006C31 RID: 27697 RVA: 0x00122648 File Offset: 0x00120848
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(IMBMFNLHNFK other)
		{
			return other != null && (other == this || (object.Equals(this.IMPLIOJGBIO, other.IMPLIOJGBIO) && object.Equals(this.GIOHAFGBGMC, other.GIOHAFGBGMC) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06006C32 RID: 27698 RVA: 0x0012269C File Offset: 0x0012089C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.iMPLIOJGBIO_ != null)
			{
				num ^= this.IMPLIOJGBIO.GetHashCode();
			}
			if (this.gIOHAFGBGMC_ != null)
			{
				num ^= this.GIOHAFGBGMC.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06006C33 RID: 27699 RVA: 0x001226EE File Offset: 0x001208EE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06006C34 RID: 27700 RVA: 0x001226F6 File Offset: 0x001208F6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06006C35 RID: 27701 RVA: 0x00122700 File Offset: 0x00120900
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.iMPLIOJGBIO_ != null)
			{
				output.WriteRawTag(42);
				output.WriteMessage(this.IMPLIOJGBIO);
			}
			if (this.gIOHAFGBGMC_ != null)
			{
				output.WriteRawTag(50);
				output.WriteMessage(this.GIOHAFGBGMC);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06006C36 RID: 27702 RVA: 0x0012275C File Offset: 0x0012095C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.iMPLIOJGBIO_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.IMPLIOJGBIO);
			}
			if (this.gIOHAFGBGMC_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.GIOHAFGBGMC);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06006C37 RID: 27703 RVA: 0x001227B4 File Offset: 0x001209B4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(IMBMFNLHNFK other)
		{
			if (other == null)
			{
				return;
			}
			if (other.iMPLIOJGBIO_ != null)
			{
				if (this.iMPLIOJGBIO_ == null)
				{
					this.IMPLIOJGBIO = new RogueSyncContextBoardEvent();
				}
				this.IMPLIOJGBIO.MergeFrom(other.IMPLIOJGBIO);
			}
			if (other.gIOHAFGBGMC_ != null)
			{
				if (this.gIOHAFGBGMC_ == null)
				{
					this.GIOHAFGBGMC = new FLKLLJOCMML();
				}
				this.GIOHAFGBGMC.MergeFrom(other.GIOHAFGBGMC);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06006C38 RID: 27704 RVA: 0x00122834 File Offset: 0x00120A34
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06006C39 RID: 27705 RVA: 0x00122840 File Offset: 0x00120A40
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 42U)
				{
					if (num != 50U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						if (this.gIOHAFGBGMC_ == null)
						{
							this.GIOHAFGBGMC = new FLKLLJOCMML();
						}
						input.ReadMessage(this.GIOHAFGBGMC);
					}
				}
				else
				{
					if (this.iMPLIOJGBIO_ == null)
					{
						this.IMPLIOJGBIO = new RogueSyncContextBoardEvent();
					}
					input.ReadMessage(this.IMPLIOJGBIO);
				}
			}
		}

		// Token: 0x0400294C RID: 10572
		private static readonly MessageParser<IMBMFNLHNFK> _parser = new MessageParser<IMBMFNLHNFK>(() => new IMBMFNLHNFK());

		// Token: 0x0400294D RID: 10573
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400294E RID: 10574
		public const int IMPLIOJGBIOFieldNumber = 5;

		// Token: 0x0400294F RID: 10575
		private RogueSyncContextBoardEvent iMPLIOJGBIO_;

		// Token: 0x04002950 RID: 10576
		public const int GIOHAFGBGMCFieldNumber = 6;

		// Token: 0x04002951 RID: 10577
		private FLKLLJOCMML gIOHAFGBGMC_;
	}
}
